Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.ecm.platform.pageproviders.contrib--providers

This contribution is part of XML component org.nuxeo.ecm.platform.pageproviders.contrib inside nuxeo-platform-webapp-core-2021.48.10.jar /OSGI-INF/pageproviders-webapp-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

25
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <coreQueryPageProvider name="search_media_all">
          <property name="maxResults">PAGE_SIZE</property>
          <pattern>
            SELECT * FROM Document WHERE ecm:primaryType = ?
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>100</pageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="search_media_by_title">
          <property name="maxResults">PAGE_SIZE</property>
          <pattern>
            SELECT * FROM Document WHERE ecm:primaryType = ?
            AND ecm:fulltext LIKE ?
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>100</pageSize>
        </coreQueryPageProvider>
  • <genericPageProvider class="org.nuxeo.ecm.webapp.provider.ImportFolderPageProvider" name="importFolders">
          <pattern escapeParameters="true" quoteParameters="false">
            SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?%' AND ecm:mixinType !=
            'HiddenInNavigation' AND ecm:mixinType = 'Folderish'
            AND ecm:isTrashed = 0
            AND SORTED_COLUMN IS NOT NULL
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>10</pageSize>
        </genericPageProvider>
  • <coreQueryPageProvider name="breadcrumb_user_domains">
          <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
          <pattern>
            SELECT * FROM Domain WHERE ecm:mixinType != 'HiddenInNavigation'
            AND ecm:isTrashed = 0
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>0</pageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="startup_domains">
          <property name="maxResults">PAGE_SIZE</property>
          <pattern>
            SELECT * FROM Domain
            WHERE ecm:mixinType != 'HiddenInNavigation'
            AND ecm:isTrashed = 0
            AND ecm:isVersion = 0
            AND ecm:isProxy = 0
          </pattern>
          <sort ascending="true" column="dc:title"/>
          <pageSize>2</pageSize>
    
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="search_media_all">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="search_media_by_title">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Document WHERE ecm:primaryType = ?
        AND ecm:fulltext LIKE ?
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>100</pageSize>
    </coreQueryPageProvider>

    <genericPageProvider class="org.nuxeo.ecm.webapp.provider.ImportFolderPageProvider" name="importFolders">
      <pattern escapeParameters="true" quoteParameters="false">
        SELECT * FROM Document WHERE ecm:fulltext.dc:title LIKE '?%' AND ecm:mixinType !=
        'HiddenInNavigation' AND ecm:mixinType = 'Folderish'
        AND ecm:isTrashed = 0
        AND SORTED_COLUMN IS NOT NULL
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>10</pageSize>
    </genericPageProvider>

    <coreQueryPageProvider name="breadcrumb_user_domains">
      <property name="maxResults">DEFAULT_NAVIGATION_RESULTS</property>
      <pattern>
        SELECT * FROM Domain WHERE ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isTrashed = 0
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>0</pageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="startup_domains">
      <property name="maxResults">PAGE_SIZE</property>
      <pattern>
        SELECT * FROM Domain
        WHERE ecm:mixinType != 'HiddenInNavigation'
        AND ecm:isTrashed = 0
        AND ecm:isVersion = 0
        AND ecm:isProxy = 0
      </pattern>
      <sort ascending="true" column="dc:title"/>
      <pageSize>2</pageSize>

    </coreQueryPageProvider>

  </extension>